<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
</head>
<body>
<style>
        .container {
            width: 400px;
            margin: 0 auto;
        }
        h1 {
            padding: 10px;
            width: 200px;
            margin: 0 auto;
            text-align: center;
        }
        p {
            margin: 10px auto;
            color: gray;
            text-align: center;
        }
        .row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 2px 0;
            width: 300px;
        }
        div input {
            height: 30px;
            width: 200px;
        }
        form {
            width: 300px;
            margin: 0 auto;
        }
        .button {
            margin: 0 auto;
            height: 40px;
            width: 300px;
            background-color: orange;
            border: none;
            color: white;
        }
        .button:active {
            background-color: rgb(251, 209, 130);
        }
    </style>
<div class="container">
    <h1>登录界面</h1>
    <p>输入后点击登录，若信息正确自动跳转</p>
    <form class action="login2" method="post">
        <div class="row">
            <span>账户</span>
            <input type="text" name="username">
        </div>
        <div class="row">
            <span>密码</span>
            <input type="password" name="password">
        </div>
        <div class="row">
            <input class="button" type="submit" value="登录">
        </div>
    </form>
</div>
</body>
</html>